package com.zygh.policeasset.pojo.dto;

import cn.afterturn.easypoi.util.PoiElUtil;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

/* loaded from: police-asset-2.0-0.0.1-SNAPSHOT.jar:BOOT-INF/classes/com/zygh/policeasset/pojo/dto/ConstructionChangeDTO.class */
public class ConstructionChangeDTO implements Serializable {
    private static final long serialVersionUID = -54287801186866232L;
    @ApiModelProperty("主键")
    private Integer id;
    @ApiModelProperty("施工单位")
    private String unit;
    @ApiModelProperty("施工开始时间")
    private String startTime;
    @ApiModelProperty("施工结束时间")
    private String endTime;
    @ApiModelProperty("施工负责人")
    private String director;
    @ApiModelProperty("联系方式")
    private String contact;
    @ApiModelProperty("1是报废、2是暂存")
    private Integer handWay;
    @ApiModelProperty("用户")
    private Integer userId;
    @ApiModelProperty("状态，0未提交、1待审批、2通过、3驳回、4撤销")
    private Integer status;

    public void setId(Integer id) {
        this.id = id;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public void setDirector(String director) {
        this.director = director;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public void setHandWay(Integer handWay) {
        this.handWay = handWay;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override // java.lang.Object
    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof ConstructionChangeDTO)) {
            return false;
        }
        ConstructionChangeDTO other = (ConstructionChangeDTO) o;
        if (!other.canEqual(this)) {
            return false;
        }
        Object this$id = getId();
        Object other$id = other.getId();
        if (this$id == null) {
            if (other$id != null) {
                return false;
            }
        } else if (!this$id.equals(other$id)) {
            return false;
        }
        Object this$unit = getUnit();
        Object other$unit = other.getUnit();
        if (this$unit == null) {
            if (other$unit != null) {
                return false;
            }
        } else if (!this$unit.equals(other$unit)) {
            return false;
        }
        Object this$startTime = getStartTime();
        Object other$startTime = other.getStartTime();
        if (this$startTime == null) {
            if (other$startTime != null) {
                return false;
            }
        } else if (!this$startTime.equals(other$startTime)) {
            return false;
        }
        Object this$endTime = getEndTime();
        Object other$endTime = other.getEndTime();
        if (this$endTime == null) {
            if (other$endTime != null) {
                return false;
            }
        } else if (!this$endTime.equals(other$endTime)) {
            return false;
        }
        Object this$director = getDirector();
        Object other$director = other.getDirector();
        if (this$director == null) {
            if (other$director != null) {
                return false;
            }
        } else if (!this$director.equals(other$director)) {
            return false;
        }
        Object this$contact = getContact();
        Object other$contact = other.getContact();
        if (this$contact == null) {
            if (other$contact != null) {
                return false;
            }
        } else if (!this$contact.equals(other$contact)) {
            return false;
        }
        Object this$handWay = getHandWay();
        Object other$handWay = other.getHandWay();
        if (this$handWay == null) {
            if (other$handWay != null) {
                return false;
            }
        } else if (!this$handWay.equals(other$handWay)) {
            return false;
        }
        Object this$userId = getUserId();
        Object other$userId = other.getUserId();
        if (this$userId == null) {
            if (other$userId != null) {
                return false;
            }
        } else if (!this$userId.equals(other$userId)) {
            return false;
        }
        Object this$status = getStatus();
        Object other$status = other.getStatus();
        return this$status == null ? other$status == null : this$status.equals(other$status);
    }

    protected boolean canEqual(Object other) {
        return other instanceof ConstructionChangeDTO;
    }

    @Override // java.lang.Object
    public int hashCode() {
        Object $id = getId();
        int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
        Object $unit = getUnit();
        int result2 = (result * 59) + ($unit == null ? 43 : $unit.hashCode());
        Object $startTime = getStartTime();
        int result3 = (result2 * 59) + ($startTime == null ? 43 : $startTime.hashCode());
        Object $endTime = getEndTime();
        int result4 = (result3 * 59) + ($endTime == null ? 43 : $endTime.hashCode());
        Object $director = getDirector();
        int result5 = (result4 * 59) + ($director == null ? 43 : $director.hashCode());
        Object $contact = getContact();
        int result6 = (result5 * 59) + ($contact == null ? 43 : $contact.hashCode());
        Object $handWay = getHandWay();
        int result7 = (result6 * 59) + ($handWay == null ? 43 : $handWay.hashCode());
        Object $userId = getUserId();
        int result8 = (result7 * 59) + ($userId == null ? 43 : $userId.hashCode());
        Object $status = getStatus();
        return (result8 * 59) + ($status == null ? 43 : $status.hashCode());
    }

    @Override // java.lang.Object
    public String toString() {
        return "ConstructionChangeDTO(id=" + getId() + ", unit=" + getUnit() + ", startTime=" + getStartTime() + ", endTime=" + getEndTime() + ", director=" + getDirector() + ", contact=" + getContact() + ", handWay=" + getHandWay() + ", userId=" + getUserId() + ", status=" + getStatus() + PoiElUtil.RIGHT_BRACKET;
    }

    public Integer getId() {
        return this.id;
    }

    public String getUnit() {
        return this.unit;
    }

    public String getStartTime() {
        return this.startTime;
    }

    public String getEndTime() {
        return this.endTime;
    }

    public String getDirector() {
        return this.director;
    }

    public String getContact() {
        return this.contact;
    }

    public Integer getHandWay() {
        return this.handWay;
    }

    public Integer getUserId() {
        return this.userId;
    }

    public Integer getStatus() {
        return this.status;
    }
}